// 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();
            // }
        }
示例#2
0
 public ContentShareController (Sharewithcontext context)
 {
     _context = context;
 }
示例#3
0
        // private readonly UserDetailsService _service;

        public UserDetailsController(Sharewithcontext context /*UserDetailsService service*/)
        {
            _context = context;
        }
示例#4
0
 public UserFileDetailsController(Sharewithcontext context)
 {
     _context = context;
 }
示例#5
0
 public UserDetailsService(Sharewithcontext context)
 {
     _context = context;
 }