we have a project in multiple layer ( containing data access layer , service layer , web .... ) also we have some entity like Person , User , Customer , Employee now we are going to use asp.net identity in our website for user register and authentication now if we want to register a user in one of the layers ( not website ) how we can do it according to asp.net identity , and what about authentication ?
(my first idea is add a user to database and use PasswordHasher Class of Microsoft.AspNet.Identity to hash a password , is there a better way ? for example move asp.net identity into a new class library project or any other ways )
another thing :
i want to know how we can use another entities like Customer , Employee ... in this design ?