// private readonly UserDetailsService _service; public UserDetailsController(Sharewithcontext context /*UserDetailsService service*/) { _context = context; // _service = service; // if (_context.mytable.Count() == 0) // { // _context.mytable.Add(new mytable { CreatedBy= "Baisakh" }); // _context.SaveChanges(); // } }
public ContentShareController (Sharewithcontext context) { _context = context; }
// private readonly UserDetailsService _service; public UserDetailsController(Sharewithcontext context /*UserDetailsService service*/) { _context = context; }
public UserFileDetailsController(Sharewithcontext context) { _context = context; }
public UserDetailsService(Sharewithcontext context) { _context = context; }