public int DeleteBlogDetail(DeleteBlog_Req _Req) { SqlParameter[] p = new SqlParameter[10]; p[0] = new SqlParameter("@BlogId", _Req.BlogId); p[1] = new SqlParameter("@AuthorId", _Req.AuthorId); int res = SQLHelper.ExecuteNonquery(SQLHelper.conection, CommandType.StoredProcedure, "SP_DeleteBlog", p); return(res); }
public IHttpActionResult DeleteBlogDetail(DeleteBlog_Req _Req) { var _response = _blogService.DeleteBlogDetail(_Req); return(Ok(_response)); }
int IBlogService.DeleteBlogDetail(DeleteBlog_Req _Req) { return(_blogData.DeleteBlogDetail(_Req)); }