IF the model which you are passing to DAL through your BL is a view-model then the logic will be in your DAL otherwise you should not pass a model which will perform 3 insert for 3 different tables.
More Related Contents:
- ASP.NET MVC – Attaching an entity of type ‘MODELNAME’ failed because another entity of the same type already has the same primary key value
- Why does the EF 6 tutorial use asynchronous calls?
- Generic Repository or Specific Repository for each entity?
- How to add/update child entities when updating a parent entity in EF
- Validation failed for one or more entities while saving changes to SQL Server Database using Entity Framework
- Non-static method requires a target
- Using Asp.Net Identity DataBase first approach
- Implementing Audit Log / Change History with MVC & Entity Framework
- How to do a Bulk Insert — Linq to Entities
- How to group by on 2 child entities and get total of both this child entities?
- LINQ to Entities does not recognize the method ‘System.Web.Mvc.FileResult’
- When should I create a new DbContext()
- Questions about Entity Framework Context Lifetime
- Is Deferred Execution in Asp.net MVC View a very bad thing?
- Entity vs Model vs View Model
- Why is Asp.Net Identity IdentityDbContext a Black-Box?
- ASP.NET Identity – Multiple object sets per type are not supported
- C# Entity-Framework: How can I combine a .Find and .Include on a Model Object?
- How to I apply filter while paginating in Asp.net MVC and entity Framework?
- Set database timeout in Entity Framework
- Only primitive types or enumeration types are supported in this context
- Async PartialView causes “HttpServerUtility.Execute blocked…” exception
- Entity Framework – how do I get the columns?
- How to create custom additional fields in UserProfile in MVC4
- How should I set up my integration tests to use a test database with Entity Framework?
- Where to convert business model to view model?
- MVC 4 – Many-to-Many relation and checkboxes
- How to write this EF Mock setup code as a reusable Generic Boilerplate?
- Entity Framework Many to many through containing object
- ASP.NET MVC Model Binder for Generic Type