public int EditApiInteroperabilitySystems(ApiInteropSystem apiInteropSystem) { using (UnitOfWork unitOfWork = new UnitOfWork(new ApiContext())) { unitOfWork.ApiInteropSystemsRepository.Update(apiInteropSystem); Result = unitOfWork.Complete(); unitOfWork.Dispose(); return(Result); } }
public int AddApiInteroperabilitySystems(ApiInteropSystem apiInteropSystem) { return(_apiInteropSystemsManager.AddApiInteroperabilitySystems(apiInteropSystem)); }