<commit_before>#Online book library


#
## Structure of the system by enties:

* Book
Int BookId
String Title *
DateTime ReleaseDate
Int AuthorId *
Int GenreId *
String Description

* Writer
Int AuthorId
String FirstName *
String LastName
String UserName

* Genre
Int GenreId
String GenreName *


#
## Restrictions
Requered fields are mark with stars.
Eligible Characters:
Book.Name – acceptable characters between 1 and 300.
Book.Discription – acceptable characters between 1 and 500.
Author.FirstName – acceptable characters between 1 and 200.
Author.LastName – acceptable characters between 1 and 200.
Genre.GenreName – acceptable characters between 1 and 100.


#
## For each model have to be created a CRUD of views.


#
## Filters
Books/Index view need to have:
Pager
Serach on Title, Genre have to be DropDownList and Writer


#
## The online library need to have and authentification.
Admin - Full access
User - Need to access Books/Index page, and need to have rights to use search panel. But without access to Create, Update, Delete.
Anonymous – not register users. They can see only Books/Index.


#
###Informations
In the description for controller to view, we will use the following abbreviation:
Example
View Index to contorller Books is Books/Index<commit_msg>Update task_even.md<commit_after># Online book library


#
## Structure of the system by enties:

* Book
Int BookId
String Title *
DateTime ReleaseDate
Int AuthorId *
Int GenreId *
String Description

* Writer
Int AuthorId
String FirstName *
String LastName
String UserName

* Genre
Int GenreId
String GenreName *


#
## Restrictions
Requered fields are mark with stars.
Eligible Characters:
Book.Name – acceptable characters between 1 and 300.
Book.Discription – acceptable characters between 1 and 500.
Author.FirstName – acceptable characters between 1 and 200.
Author.LastName – acceptable characters between 1 and 200.
Genre.GenreName – acceptable characters between 1 and 100.


#
## For each model have to be created a CRUD of views.


#
## Filters
Books/Index view need to have:
Pager
Serach on Title, Genre have to be DropDownList and Writer


#
## The online library need to have and authentification.
Admin - Full access
User - Need to access Books/Index page, and need to have rights to use search panel. But without access to Create, Update, Delete.
Anonymous – not register users. They can see only Books/Index.


#
### Informations
In the description for controller to view, we will use the following abbreviation:
Example
View Index to contorller Books is Books/Index
{'fraction_non_alphanumeric': 0.05433932759968726, 'fraction_numerical': 0.01563721657544957, 'mean_word_length': 4.364779874213837, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5788018', 'n_tokens_mistral': 753, 'n_tokens_neox': 687, 'n_words': 357}