public Avatar Create(Avatar avatar) { try { Context.Add(avatar); Context.SaveChanges(); } catch (Exception ex) { throw ex; } return(avatar); }
public AppUser Create(AppUser user) { try { Context.Add(user); Context.SaveChanges(); } catch (Exception ex) { throw ex; } return(user); }