public Task Add(ZabotaLicenses model) { _appDBContext.Licenses.Add(new Entities.Licenses { Id = model.Id, Name = model.Name }); return(_appDBContext.SaveChangesAsync()); }
public async Task <bool> AddLicense(ZabotaLicenses model) { await _licensesRepository.Add(model); return(true); }