public void Insert(int ApiType,string Request,string Response,string Url,DateTime? Dateoccured) { ApiError item = new ApiError(); item.ApiType = ApiType; item.Request = Request; item.Response = Response; item.Url = Url; item.Dateoccured = Dateoccured; item.Save(UserName); }
public void Update(long ApiErrorsKey,int ApiType,string Request,string Response,string Url,DateTime? Dateoccured) { ApiError item = new ApiError(); item.MarkOld(); item.IsLoaded = true; item.ApiErrorsKey = ApiErrorsKey; item.ApiType = ApiType; item.Request = Request; item.Response = Response; item.Url = Url; item.Dateoccured = Dateoccured; item.Save(UserName); }